package com.zwj.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zwj
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("course_info")
@ApiModel(value="CourseInfoEntity对象", description="")
public class CourseInfoEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "课程名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "状态,0:待审核，1未开启，2开启")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "是否删除,0:否 1:是")
    @TableField("isDeleted")
    private String isDeleted;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;
    @ApiModelProperty(value = "创建人")
    @TableField("userName")
    private String userName;
    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private String updateTime;

    @ApiModelProperty(value = "项目简介")
    @TableField("brief_introduction")
    private String briefIntroduction;

    @ApiModelProperty(value = "课程行业ID")
    @TableField("industryId")
    private String industryId;
    @ApiModelProperty(value = "行业名")
    @TableField("industryName")
    private String industryName;
    @ApiModelProperty(value = "课程名")
    @TableField("typeName")
    private String typeName;
    @ApiModelProperty(value = "课程类型ID")
    @TableField("typeId")
    private String typeId;

    @ApiModelProperty(value = "0不收，1收费")
    @TableField("charge")
    private Integer charge;

    @ApiModelProperty(value = "价格")
    @TableField("price")
    private double price;

    @ApiModelProperty(value = "学时")
    @TableField("class_hours")
    private Integer classHours;

    @ApiModelProperty(value = "封面")
    @TableField("avatar")
    private String avatar;
}
